A liquid ejecting head comprising: a first board on which a driving element for ejecting liquid is installed; a second board which is installed on a surface of the first board and covers the driving element; a flexible wiring board that includes a first surface on which a wiring, by which a driving signal can be supplied to the driving element, is formed, a second surface that is at the opposite side to the first surface, where the first surface of a first end section is joined to the surface of the first board, and a center section, and wherein the flexible wiring board is bent so that the center section is inclined with respect to the first end section toward a wall surface of the second board, so as to form a space between the first board, the center section of the flexible wiring board and the wall surface of the second board; and a filling material which covers the wiring by being formed at least between the first surface and the wall surface of the second board, wherein the filling material is filled inside the space which is enclosed by the first board, the center section of the flexible wiring board and the wall surface of the second board; and wherein the height of the filling material with respect to the surface of the first board is high at the first surface side in comparison to the second surface side; characterized in that: the height of the filling material at the second surface side is low in a center portion of the flexible wiring board in a width direction in comparison to an end portion of the flexible wiring board in the width direction, the width direction being perpendicular to an extension direction of the wiring on the flexible wiring board. a first board on which a driving element for ejecting liquid is installed; a second board which is installed on a surface of the first board and covers the driving element; a flexible wiring board that includes a first surface on which a wiring, by which a driving signal can be supplied to the driving element, is formed, a second surface that is at the opposite side to the first surface, where the first surface of a first end section is joined to the surface of the first board, and a center section, and wherein the flexible wiring board is bent so that the center section is inclined with respect to the first end section toward a wall surface of the second board, so as to form a space between the first board, the center section of the flexible wiring board and the wall surface of the second board; and a filling material which covers the wiring by being formed at least between the first surface and the wall surface of the second board, wherein the filling material is filled inside the space which is enclosed by the first board, the center section of the flexible wiring board and the wall surface of the second board; and wherein the height of the filling material with respect to the surface of the first board is high at the first surface side in comparison to the second surface side; characterized in that: the height of the filling material at the second surface side is low in a center portion of the flexible wiring board in a width direction in comparison to an end portion of the flexible wiring board in the width direction, the width direction being perpendicular to an extension direction of the wiring on the flexible wiring board.