Samsung recommends that you leave at least ⅜" above the refrigerator, 1" behind it, and ⅜" on either side - this is to help with ventilation and air circulation, which will keep it cooler.