Loot boxes give random rewards and can be acquired either through gameplay or by spending real cash.
Those that can be bought for real money must now be removed from video games in Belgium.
Failure to comply may lead to a fine of €800,000 (£697,000) and up to five years in prison for the publishers.