The Britpop band appeared as 'special guests' at the legendary music event after alluding to a surprise appearance at a secret gig on Friday.
As the rain eased for their much-anticipated arrival, Pulp frontman Jarvis Cocker quipped: "We couldn't think of anything to get you so we brought the sunshine," and kicked off proceedings with 1994 hit 'Do You Remember The First Time'.
In between a 14-song setlist that included 'Acrylic Afternoons', 'Live Bed Show', 'Disco 2000' and 'Sorted For E's And Wizz', Cocker also took time to joke with the audience about reports of police testing festival-goers for drugs by analysing their sewage.
"They wanted to take samples from the toilets to see if there's drugs in there," he revealed. "Firstly, who's going to take that sample? Secondly, f**k off. Everyone's in a field having a good time."
Pulp closed their set by performing their best-known hit 'Common People', which brought back for Cocker treasured memories of the band's career-making Glastonbury show in 1995.
"Thanks Glastonbury, obviously it's been a very important place for us," he declared. "When we played in '95 things took off for us and we went in a strange orbit around the earth, and now we're back home in one piece.
"When we played in '95 I told a speech, 'If you want something to happen enough then it actually will'. If lanky misshapes like us could headline Glastonbury anyone could do it.
"Although that sounds corny it's true, it's in all of us. This is what this festival is about, it's bigger than a festival, it's a feeling."
Cocker also shared his hope that Pulp - who last played at Glastonbury in 1998 - would return to the festival's stages once again.
"This is our fourth Glastonbury, who knows, it would be nice to do five," he teased.
Pulp's setlist was as follows:
1. Do You Remember The First Time?
4. Acrylic Afternoons
5. Something Changed
6. Disco 2000
7. Sorted For E's & Wizz
8. Like A Friend
11. Live Bed Show
12. This Is Hardcore
14. Common People
Digital Spy is bringing you news from Glastonbury festival 2011 all weekend - view our guide to the festival and click here to stay abreast of our full coverage.
> Friendly Fires welcome hula dancers to Glastonbury
> Tinie Tempah thanks fans for memorable Glastonbury set
> Jessie J pleases crowd with Glastonbury set