How I Met Your Mother has been recomissioned for two more years.
The deal between CBS and producer Twentieth Century Fox Television will keep the show on air til 2013.
The five central actors - Neil Patrick Harris, Josh Radnor, Jason Segel, Alyson Hannigan and Cobie Smulders - are each signed for two more years.
If the current troubles between CBS and Charlie Sheen cannot be solved, the show is a candidate to move into the Two And A Half Men time slot.
Six years in, there's still no word from producers on when they'll introduce the future wife of Josh's character Ted.
The show is broadcast in the UK on E4.