The 28-year-old Denmark international was reportedly on the radar of the Spanish champions but a move to the Camp Nou failed to materialise.
And Agger, who joined Liverpool back in 2006, says he is happy on Merseyside and is planning to see out the remainder of his current deal.
“[The Barcelona move] was up to the club,” Agger is quoted as saying by Ekstra Bladet. “The club would not sell me.
“I do not know [if I will play at another club]. Right now I have two-and-a-half years left on my contract, and I intend to fulfil my contract.
“I’m glad [to be] at Liverpool and playing well. We have a great team, and if I can win something it will be great. Liverpool is a huge club.”
Agger, who arrived at Anfield from Brondby for £5.8m in January 2006, signed a two-year contract extension back in October 2012 to keep him at the club until the end of the 2015-16 season.