An electrical connector and a terminal thereof are provided. The electrical connector comprises a housing, a circuit board and a plurality of terminals. The housing comprises a body and an assembly frame. The body is formed with a first surface and a second surface which are opposite to each other, and includes a terminal mounting hole penetrating through the first surface and the second surface. The assembly frame extends outwardly from the second surface and forms a mounting surface. The circuit board is mounted to the mounting surface. The terminal comprises a main body, a plurality of pins and a pressing portion. The main body is mounted to the corresponding terminal mounting hole. The pins protrude out of the first surface from a side edge of the main body adjacent to the first surface.