FERGIE has TWO peas in the pod! Pals say the “Glamorous” Grammy winner is pregnant with twins.

After a bumpy four years, the Black Eyed Peas singer, 37, and her husband, 40-year-old “Transformers” star Josh Duhamel, are thrilled the stork is finally en route.

“Fergie and Josh feel like they hit the baby jackpot,” a close friend told The ENQUIRER.

“THEY WAITED A LONG TIME, BUT IT’S ALL paying off because they say they’re expecting twins. They couldn’t be happier!”

But life wasn’t always as blissful for the Hollywood hipsters. As The ENQUIRER revealed, the couple came dangerously close to splitting before their first wedding anniversary after Josh cheated with busty blonde stripper Nicole Forrester while he was filming a movie in Atlanta, Ga.

Our blockbuster exclusive on Josh’s sizzling 2009 tryst with Nicole “shattered Fergie’s heart and very nearly drove them to divorce court,” the source said.

“But in time they picked up the pieces and moved on because of their deep love for each other and strong desire to start a family.”

In the past year, the “Big Girls Don’t Cry” singer and her hunky hubby apparently made starting a family their top priority.

“Fergie cut back on her career, and she’s taken really good care of herself. No booze, a healthy diet and plenty of sex!” said the source.

“Now it’s all paid off. Josh’s fling is just a distant memory, and the Duhamels have shifted their nursery plans into overdrive – times TWO!”