MDF is porous, and any exposure to moisture will cause it to swell or distort its form. So, it is essential that you use a solvent or oil-based primer. Some primers also contain chemicals that might react with the resin or other substances that were used in manufacturing MDF, which could result in damage to your board.