Linda Perry, Sara Gilbert Linda Perry, Sara Gilbert

Sara Gilbert and Linda Perry are expecting their first child together.

Gilbert, 39, announced on Tuesday's episode of The Talk that she's pregnant during a "Face Your Fears" segment, explaining why she won't be confronting her fear of having a cinder block broken on her stomach. "I really believe in facing your fears, but I actually can't do the dare because I'm pregnant," she said.

See more celebrity baby news

Gilbert and Perry, the former lead singer of 4 Non Blondes who now works as a songwriter and music producer, got married in March.

"Thank you everyone for your awesome messages of support. @THEsaragilbert and I are beyond happy. :)," Perry tweeted Tuesday night.

Added Gilbert: "Thank you all. Your warmth and enthusiasm is truly moving."

Gilbert has a 9-year-old son, Levi, and 7-year-old daughter, Sawyer, with her former partner, producer Allison Adler.

Watch her pregnancy announcement below: