A utility task vehicle (UTV) includes a frame having frame rails and a battery assembly positioned laterally between the frame rails. The battery assembly includes a battery housing and a battery array having a plurality of battery cells. The battery array is positioned within the battery housing and the battery assembly provides support for or is located under a floor of a cabin of the utility task vehicle.