Everybody knows Madonna’s name.

But it turns out the Material Girl had some trouble with names when she guest-starred on Will & Grace back in 2003.

‘She didn’t necessarily know our real names in real life. Because why should she?’ Megan Mullally spilled on Jimmy Kimmel Live.

‘Like some of the cast were really offended like, “She doesn’t even know my name!” And I’m like, “Who cares? Madonna’s doing our show!”‘

An incredulous Kimmel asked: “So she’d be like “Hi, Will, hi Grace?”‘

Confirmed Mullally with a laugh: ‘Yeah, kinda. But in a nice way.’

But Mullally was impressed by Madonna’s professionalism.

‘Madonna is really cool, really nice and really present. She worked really, really hard. She wasn’t a prima donna.’

Madonna’s appearance came in the show’s fifth season.

She played a peculiar office worker named Liz who Mullally’s outrageously rich Karen Walker meets in her search to meet ‘real people.’

The two briefly become roommates and, of course, it all goes wrong.

For the record, Madonna was working with Emmy winners Mullally, Eric McCormnack, Debra Messing and Sean Hayes.

All are returning after a 10 year hiatus for an unexpected 10 episode ninth season of the show.

Renewed demand for the show came after the cast reunited last fall for a mini-episode in support of the candidacy of Hillary Clinton.

