Chuck Liddell has been granted a temporary restraining order from his estranged wife, Heidi, TMZ Sports has learned ... in addition to temporary primary physical custody of their kids.
This just days after the 51-year-old UFC legend claimed his wife roughed him up at their family home.
A judge in Los Angeles signed off on the order last week ... preventing 41-year-old Heidi from having any contact -- including over the phone or computer -- with The Iceman.
The TRO dictates Heidi must remain at least 100 yards from Chuck at all times.