A shift device for transmitting a shift operation of a shift pedal of a vehicle to a transmission to perform a gear-shifting operation, comprising: a shaft member which is configured to be displaced according to the shift operation of the shift pedal of the vehicle; a housing which is configured to accommodate the shaft member in a displaceable manner and move integrally with the shaft member in a state where the shaft member reaches a displacement end to perform the gear-shifting operation of the vehicle; a detecting unit which is configured to detect displacement of the shaft member with respect to the housing; and an accommodation case, characterized in that the detecting unit includes: an electromagnetic field detection unit, in which a transmission circuit which is configured to generate an electromagnetic field by supplying a high-frequency signal, and a reception circuit (5b, 5c) which is formed in the transmission circuit and which is configured to receive the electromagnetic field generated by the transmission circuit to generate a voltage, are formed on a substrate, and which is formed along a displacement direction of the shaft member; a shielding portion (Le) which is close to the electromagnetic field detection unit at a position corresponding to the displacement of the shaft member and which is configured to shield the electromagnetic field generated by the transmission circuit of the electromagnetic field detection unit; and a displacement detection unit which is configured to detect the displacement of the shaft member based on a voltage change in the reception circuit (5b, 5c) caused by shielding of the electromagnetic field by the shielding portion (Le), wherein the accommodation case accommodates the electromagnetic field detection unit, and the shielding portion (Le) is configured to slide on a slide receiving surface formed on the accommodation case corresponding to the displacement of the shaft member. a shaft member which is configured to be displaced according to the shift operation of the shift pedal of the vehicle; a housing which is configured to accommodate the shaft member in a displaceable manner and move integrally with the shaft member in a state where the shaft member reaches a displacement end to perform the gear-shifting operation of the vehicle; a detecting unit which is configured to detect displacement of the shaft member with respect to the housing; and an accommodation case, characterized in that the detecting unit includes: an electromagnetic field detection unit, in which a transmission circuit which is configured to generate an electromagnetic field by supplying a high-frequency signal, and a reception circuit (5b, 5c) which is formed in the transmission circuit and which is configured to receive the electromagnetic field generated by the transmission circuit to generate a voltage, are formed on a substrate, and which is formed along a displacement direction of the shaft member; a shielding portion (Le) which is close to the electromagnetic field detection unit at a position corresponding to the displacement of the shaft member and which is configured to shield the electromagnetic field generated by the transmission circuit of the electromagnetic field detection unit; and a displacement detection unit which is configured to detect the displacement of the shaft member based on a voltage change in the reception circuit (5b, 5c) caused by shielding of the electromagnetic field by the shielding portion (Le), wherein the accommodation case accommodates the electromagnetic field detection unit, and an electromagnetic field detection unit, in which a transmission circuit which is configured to generate an electromagnetic field by supplying a high-frequency signal, and a reception circuit (5b, 5c) which is formed in the transmission circuit and which is configured to receive the electromagnetic field generated by the transmission circuit to generate a voltage, are formed on a substrate, and which is formed along a displacement direction of the shaft member; a shielding portion (Le) which is close to the electromagnetic field detection unit at a position corresponding to the displacement of the shaft member and which is configured to shield the electromagnetic field generated by the transmission circuit of the electromagnetic field detection unit; and a displacement detection unit which is configured to detect the displacement of the shaft member based on a voltage change in the reception circuit (5b, 5c) caused by shielding of the electromagnetic field by the shielding portion (Le), wherein the accommodation case accommodates the electromagnetic field detection unit, and the shielding portion (Le) is configured to slide on a slide receiving surface formed on the accommodation case corresponding to the displacement of the shaft member.