A motor bypass valve diverts drilling fluid away from a downhole motor when the motor is off bit. Bypassing the downhole motor reduces the shock and vibration on the BHA caused by the downhole motor, thereby reducing the damage to the BHA. The motor bypass valve may divert fluid out of a housing or into a bore through the rotor of the downhole motor.