terrence howard &wife, michelle*Be glad you’re not Terrence Howard.

That’s because the actor has been ordered to write a big ol’ fat check to a woman he’s accused of being an evil racist … his wife Michelle, according to TMZ.

Howard was in L.A. County Superior Court (on Tuesday) to deal with his exceptionally nasty divorce from Michelle Ghent Howard … and was ordered to shell out more than $50,000 to hold her over until they hammer out a long-term arrangement.

Here’s the breakdown … the judge ruled that Michelle needs:

— $10k in temporary support for rent, food, etc.

— $20k so she can pay her lawyers

— $20k so she can pay her accountants

— and $1,800 per month for her Range Rover car payments

Terrence has to fork over the dough within 30 days.

As TMZ previously reported, Terrence HATES Michelle with a passion … claiming she often called him a “n**ger” … tried to extort him … and even threatened to have him killed by “The Russians.”

Michelle also HATES Terrence … and claims he violently assaulted her on numerous occasions since they tied the knot back in 2010.

Both sides are due back in court in 60 days. Bet they can’t wait.