An electric power steering apparatus in which a motor and a control unit are integrated so as to be juxtaposed in an axial direction of a rotating shaft of said motor, wherein: said motor comprises: a motor case that comprises: a cylindrical portion; and a floor portion that closes an opening at a first end of said cylindrical portion; a motor main body (22, 23) that is housed inside said motor case; and a frame that closes an opening at a second end of said motor case; said control unit comprises: a circuit board on which a central processing unit and circuits for controlling driving of said motor are configured; a connector (16a, 16b); an intermediate member that holds busbars for electrical wiring; and a housing that houses said circuit board and said intermediate member internally; said circuit board and said intermediate member are disposed so as to be juxtaposed in said axial direction of said rotating shaft; said connector (16a, 16b) is formed integrally on said intermediate member, and is disposed so as to pass through and protrude from a notch in said housing; at least one of said cylindrical portion, said frame, and said housing is configured so as to bear stress in said axial direction of said rotating shaft that acts on connector (16a, 16b) during insertion and removal of said connector (16a, 16b), the electric power steering apparatus being characterized in that switching elements (31, 32) configured to drive said motor are mounted onto said circuit board, said switching elements (31, 32) contacting said frame or said housing; said intermediate member comprising a protruding portion protruding toward said circuit board so as to radiate heat generated in said switching elements (31, 32), said circuits for controlling driving and said processing unit. said motor comprises: a motor case that comprises: a cylindrical portion; and a floor portion that closes an opening at a first end of said cylindrical portion; a motor main body (22, 23) that is housed inside said motor case; and a frame that closes an opening at a second end of said motor case; a motor case that comprises: a cylindrical portion; and a floor portion that closes an opening at a first end of said cylindrical portion; a cylindrical portion; and a floor portion that closes an opening at a first end of said cylindrical portion; a motor main body (22, 23) that is housed inside said motor case; and a frame that closes an opening at a second end of said motor case; said control unit comprises: a circuit board on which a central processing unit and circuits for controlling driving of said motor are configured; a connector (16a, 16b); an intermediate member that holds busbars for electrical wiring; and a housing that houses said circuit board and said intermediate member internally; a circuit board on which a central processing unit and circuits for controlling driving of said motor are configured; a connector (16a, 16b); an intermediate member that holds busbars for electrical wiring; and a housing that houses said circuit board and said intermediate member internally; said circuit board and said intermediate member are disposed so as to be juxtaposed in said axial direction of said rotating shaft; said connector (16a, 16b) is formed integrally on said intermediate member, and is disposed so as to pass through and protrude from a notch in said housing; at least one of said cylindrical portion, said frame, and said housing is configured so as to bear stress in said axial direction of said rotating shaft that acts on connector (16a, 16b) during insertion and removal of said connector (16a, 16b), the electric power steering apparatus being characterized in that switching elements (31, 32) configured to drive said motor are mounted onto said circuit board, said switching elements (31, 32) contacting said frame or said housing; said intermediate member comprising a protruding portion protruding toward said circuit board so as to radiate heat generated in said switching elements (31, 32), said circuits for controlling driving and said processing unit. at least one of said cylindrical portion, said frame, and said housing is configured so as to bear stress in said axial direction of said rotating shaft that acts on connector (16a, 16b) during insertion and removal of said connector (16a, 16b), the electric power steering apparatus being characterized in that switching elements (31, 32) configured to drive said motor are mounted onto said circuit board, said switching elements (31, 32) contacting said frame or said housing; said intermediate member comprising a protruding portion protruding toward said circuit board so as to radiate heat generated in said switching elements (31, 32), said circuits for controlling driving and said processing unit.