Nicks, 70, was at the Barclays Center in New York celebrating becoming the first woman to join 22 men, including all four members of the Beatles, to have been honored twice by the Rock and Roll Hall of Fame for the different stages of their careers.
Nicks did a four-song set, during which she was joined on stage by Styles, who filled in for the late Tom Petty on “Stop Draggin’ My Heart Around.” Styles also introduced the rock legend before she addressed the audience.
Backstage at the ceremony, Nicks spoke about the One Direction singer and how they met.
“Well, we met quite a long time ago actually,” Nicks said of Styles.
“What I really loved about Harry was that when he decided to make a solo record from NSYNC,” Nicks trailed off as the reporters laughed at her reference.
Realizing her mistake, the “Dreams” singer apologized.
“Sorry, I’m never going to live that one down, I know that,” she joked.
“One Direction. I liked One Direction, too,” she continued.
The Fleetwood Mac singer said Styles “took a risk” when creating his solo record and his passion for classic rock music was impressive.
“He just fits in with all of us. He loves our music and he loves the whole ‘70s and ‘80s and ‘90s music he has been doing all this time,” Nicks said of Styles.
Styles was part of the boy band One Direction, which was formed in 2010. it enjoyed massive success until 2016, when they decided to take a hiatus to pursue solo projects.
The Associated Press contributed to this report.