The utility model provides a kind of power module and motor controller, power module is applicable to motor controller, power module includes drive board, connecting assembly, sensing component and power assembly;Connecting assembly is connected with drive board, to input or output current to drive board by connecting assembly;Sensing component is connected by drive board with connecting assembly, to be used for detecting whether there is current on connecting assembly;Power assembly is installed on drive board, and power assembly includes heat dissipation component and multiple chips connected with heat dissipation component, the opposite sides of heat dissipation component all have installation shell, and multiple chips are respectively arranged on corresponding installation shell with interval, to carry out heat dissipation to multiple chips by heat dissipation component, to solve the problem of low heat dissipation efficiency of power module in motor controller in prior art.