A wiring board where an electronic component is mounted on a main surface via a bump and at least a part of the periphery of the electronic component is covered with resin, the wiring board includes a dam provided at least at a part of the periphery of an area where the electronic component is mounted, on the main surface of the wiring board; wherein a surface of the dam contacting the resin has a configuration where a curved line is continuously formed.