Abstract: An electrical junction box includes: a connector housing that is to be fitted to a mating connector housing; a terminal held by a terminal holding portion provided in the connector housing; a first board connected to an end portion on an extension portion side of the terminal, the extension portion extending from the terminal holding portion toward a direction opposite to a fitting direction; a second board facing the first board; and a heat-generating component installed on the second board in the vicinity of the extension portion.