It depends on the costruction of the foam mattress. Some foam mattresses are treated to help with staying cool. A good mattress cover is also very important.