Taylor Swift performed at Reese Witherspoon's 40th birthday last night (19.03.16).

Reese Witherspoon

Reese Witherspoon

The 'Legally Blonde' actress - who reaches the milestone age on Tuesday (22.03.16) - threw a star-studded party at the Warwick in Hollywood, and her friends were treated to a special show from the 'Shake It Off' hitmaker.

And Taylor wasn't the only musical performer as Reese herself sang 'Sweet Home Alabama', accompanied by Keith Urban - who was joined at the bash by wife Nicole Kidman - on guitar.

Other guests at the bash included Jennifer Aniston and husband Justin Theroux, Courteney Cox, Matthew McConaughey and wife Camila Alves, Robert Downey Jr. and wife Susan Downey, Tobey Maguire and wife Jennifer Meyer, Jason Bateman and Kate Hudson.

And 'Kung Fu Panda 3' star Kate seemed to have had a great night, posting a collage of images on her Instagram page and admitting she was desperate for some rest after some heavy partying.

She posted: "When you take a s**t load of pictures and you still don't have it perfect so you go for the ole collage post...

"Happy Birthday gorgeous girl @reesewitherspoon !!! Love you #TequillaFirst #PostingLater #SaturdayNight #ImSoExcitedToGetIntoBedIDontEvenKnowWhatToDoWithMyself #NotWashingMyFace #GoodNight.(sic)"