Brian Frons, president of ABC's daytime unit, made the announcement Friday. "All My Children" will celebrate its anniversary on Jan. 5, 2010.
Ripa and Consuelos' episodes will air Jan. 4-5. It will be the first time either actor has appeared on "All My Children" since they left the show in 2002.
She is now co-host of the morning talk show "Live With Regis and Kelly."
Ripa says "Live With Regis and Kelly" will air behind-the-scenes footage next month of the couple's return to Pine Valley.
Related Content from AccessHollywood.com:
VIEW THE PHOTOS: Hollywood's Lasting Relationships
PLAY IT NOW: T.G.I.F. - Kelly Ripa & Mark Consuelos' Marital Troubles?
PLAY IT NOW: Kelly Ripa & Mel B Talk New TLC Reality Shows