The invention relates to the technical field of electric connectors, in particular to a small-size and high-density micro-rectangular connector which comprises a lower seat body, an upper seat body, a lower connecting main body arranged in the lower seat body and a heat dissipation main body used for heat dissipation, the lower seat body comprises a lower seat shell, the upper seat body comprises an upper seat shell, the lower connecting main body is arranged in the lower seat shell, and the heat dissipation main body is arranged in the lower seat shell. A lower base shell, an upper base shell, a bolt, a nut, a lower connecting main body, an upper connecting body, an upper mounting base, an inserting cylinder, a lower glue filling body, an upper glue filling body and a heat dissipation main body are arranged on the lower base shell, a lower glue filling body is arranged on the outer side of the bottom of the lower connecting main body, and the outer side of the lower glue filling body adheres to the lower base body. The lower seat shell and the upper seat shell can be fixed through the bolts and the nuts, at the moment, the inserting barrels arranged in the upper seat shell are inserted into the needle head arranged on the lower connecting body, and through four-row staggered arrangement, the number of cores of the electric connector is increased, the size of the connector is reduced, and the inserting core density of the connector is improved.