A gas sensor including a gas sensor element that extends in an axial direction and has a detection section at a front-end side thereof, and an electrode pad at a rear-end side thereof; a connection terminal that is electrically connected to the electrode pad; and an insulated separator that extends along the axial direction and has an inserting hole into which the connection terminal is inserted. An element side section is arranged within the inserting hole and is connected the electrode pad, and an external circuit side section extends further to the outside in a diametrical direction than an outer surface of the separator through one or more first bending sections from the element side section.