The Scotland international played the first half of the season at Scunthorpe United, but was released from his contract at Glanford Park earlier this month.
Iwelumo has made 14 appearances this season, scoring two goals, and his new manager Tommy Wright hopes the 35-year-old can help keep St Johnstone in the top six before the league splits in April.
"I'm delighted to get someone with his experience," he said.
"He'll bring a lot on and off the park, he has played at a good level and has the knack of scoring goals.
"Also, importantly, he has a good physical presence about him which we are looking for. I'm delighted to get him."
The former Wolves and Charlton Athletic striker has four Scotland caps, his last coming in October 2010 against the Czech Republic.
Get the best features, fun and footballing frolics straight to your inbox every week.
Thank you for signing up to Four Four Two. You will receive a verification email shortly.
There was a problem. Please refresh the page and try again.