Actress Debra Messing, star of hit US sitcom Will & Grace, has been ordered by doctors to sit out the final four episodes of the current series.
Debra Messing won best comic actress at the Emmys in 2003
Messing, 35, is expecting her first child at the end of April.
Her spokeswoman, Annett Wolf, said there were "no complications", but the star had been told to "take it easy".
Messing's character, Grace Adler, has consequently been written out of the last episodes, including a one-hour season finale featuring Jennifer Lopez.
Last year, Messing picked up the Emmy award for her role as the uptight interior designer Grace, best friend of gay lawyer Will.
The NBC series, which began in 1998, is currently in its sixth series. Guest stars have included Woody Harrelson, Matt Damon and Michael Douglas.
This season's finale will see Grace's bitchy friend Karen (Megan Mullally) marry a character played by British actor John Cleese.
A spokesman for NBC did not have details about how Grace would be written out of the show, but said it would involve her being sick and unable to attend the wedding.
Grace married her love interest, played by singer Harry Connick Jr, last season - but she is not pregnant in the script, which has meant the actress wearing lots of baggy clothing and some clever camerawork.
This year, Messing will take her first lead film role in comedy Something Borrowed, opposite Dermot Mulroney.
Other film credits have included Woody Allen's Hollywood Ending and the recent romantic comedy Along Came Polly, starring Jennifer Aniston and Ben Stiller.
The actress married screenwriter Daniel Zelman in September 2000.