Provided is a motor driver including: a housing; an electronic component that is disposed inside the housing, and that drives or controls a motor; and a fan motor that is disposed below a top plate of the housing, and that causes air to pass from an opening in a bottom plate of the housing to an opening in the top plate. In the motor driver, an outer surface of the top plate is an inclined surface.