Yes, a truck cap used on a truck bed does affect mileage, but in a negative way. Because they are heavy and take up a lot of time, they reduce fuel efficiency in a truck bed and use more fuel.