Yes, roof racks do affect gas mileage. The weight of the rack itself and the space it takes up on a roof can affect how quickly your car can start making gas.