The present disclosure provides an inductor and a switching circuit including the inductor. The inductor at least includes a winding, and a magnetic core which includes one or more limbs and further includes one or more yokes adapted to form a closed magnetic path, the winding being wounded on the limbs. A gap is provided between at least one end of at least one of the limbs and at least one of the yokes, a flat magnetic core unit is provided in the gap, the flat magnetic core unit is formed of a material having a high permeability and a low saturation magnetic flux density, the limbs and yokes are formed of a material having high permeability and high saturation magnetic flux density, and the saturation magnetic flux density of the material of the flat magnetic core unit is lower than that of the material of the limbs and yokes.