A hand vacuum cleaner having a handle, the having a front end, a rear end, a sidewall extending between the front end and the rear end and a longitudinal axis extending between the front end and the rear end. The handle includes a battery compartment configured to house at least one battery having a battery axis, wherein at least a portion of the sidewall has a plurality of recesses extending in a direction of the battery axis.