Kelly Ripa and Mark Consuelos

Kelly Ripa and husband Marc Consuelos are returning to All My Children to help ring in the soap's 40th anniversary.

Ripa and Consuelos will appear on the show Jan. 4 and 5, according to ABC Daytime President Brian Frons. The episodes will mark their first time back to Pine Valley since their 2002 departures.

See more photos of Kelly Ripa

Ripa says her talk show, Live with Regis and Kelly, will air behind-the-scenes footage of her return to the show next month.