A coil device, comprising: a base (50, 50A 50B); a cover (10, 10A, 10B) facing the base (50, 50A 50B) and forming a receiving space between the base (50, 50A 50B) and the cover (10, 10A, 10B); a casing (33, 33A, 33B) disposed inside the receiving space and containing a coil therein; a substrate (21, 41) disposed inside the receiving space and having a through hole (21a, 41a) passing through the substrate (21, 41) along a facing direction of the base (50, 50A, 50B) and the cover (10, 10A, 10B); and a support portion (A, A1, A2, B, B1, B2) disposed in the through hole (21a, 41a), wherein the support portion (A, A1, A2, B, B1, B2) has a strength greater than a strength of the substrate (21, 41), wherein the support portion (A, A1, A2, B, B1, B2) has a height greater than a thickness of the substrate (21, 41), wherein the substrate (21, 41) includes: a first substrate disposed between the cover (10, 10A, 10B) and the casing (33, 33A, 33B); and a second substrate disposed between the casing (33, 33A, 33B) and the base (50, 50A, 50B), wherein the support portion (A, A1, A2) disposed in the through hole of the first substrate is formed by at least one of a first protrusion (12, 13) formed on the cover (10A, 10B) and protruding toward the casing (33A, 33B) and a second protrusion (331, 333) formed on the casing (33, 33B) and protruding toward the cover (10, 10B), and wherein the support portion (B, B1, B2) disposed in the through hole of the second substrate is formed by at least one of a third protrusion (332, 334) formed on the casing (33, 33B) and protruding toward the base (50, 50B) and a fourth protrusion (52, 53) formed on the base (50A, 50B) and protruding toward the casing (33A, 33B). a base (50, 50A 50B); a cover (10, 10A, 10B) facing the base (50, 50A 50B) and forming a receiving space between the base (50, 50A 50B) and the cover (10, 10A, 10B); a casing (33, 33A, 33B) disposed inside the receiving space and containing a coil therein; a substrate (21, 41) disposed inside the receiving space and having a through hole (21a, 41a) passing through the substrate (21, 41) along a facing direction of the base (50, 50A, 50B) and the cover (10, 10A, 10B); and a support portion (A, A1, A2, B, B1, B2) disposed in the through hole (21a, 41a), wherein the support portion (A, A1, A2, B, B1, B2) has a strength greater than a strength of the substrate (21, 41), wherein the support portion (A, A1, A2, B, B1, B2) has a height greater than a thickness of the substrate (21, 41), wherein the substrate (21, 41) includes: a first substrate disposed between the cover (10, 10A, 10B) and the casing (33, 33A, 33B); and a second substrate disposed between the casing (33, 33A, 33B) and the base (50, 50A, 50B), wherein the support portion (A, A1, A2) disposed in the through hole of the first substrate is formed by at least one of a first protrusion (12, 13) formed on the cover (10A, 10B) and protruding toward the casing (33A, 33B) and a second protrusion (331, 333) formed on the casing (33, 33B) and protruding toward the cover (10, 10B), and wherein the support portion (B, B1, B2) disposed in the through hole of the second substrate is formed by at least one of a third protrusion (332, 334) formed on the casing (33, 33B) and protruding toward the base (50, 50B) and a fourth protrusion (52, 53) formed on the base (50A, 50B) and protruding toward the casing (33A, 33B). a first substrate disposed between the cover (10, 10A, 10B) and the casing (33, 33A, 33B); and a second substrate disposed between the casing (33, 33A, 33B) and the base (50, 50A, 50B), wherein the support portion (A, A1, A2) disposed in the through hole of the first substrate is formed by at least one of a first protrusion (12, 13) formed on the cover (10A, 10B) and protruding toward the casing (33A, 33B) and a second protrusion (331, 333) formed on the casing (33, 33B) and protruding toward the cover (10, 10B), and wherein the support portion (B, B1, B2) disposed in the through hole of the second substrate is formed by at least one of a third protrusion (332, 334) formed on the casing (33, 33B) and protruding toward the base (50, 50B) and a fourth protrusion (52, 53) formed on the base (50A, 50B) and protruding toward the casing (33A, 33B).