A door sensor typically costs between $15 and $30. However, the cost can vary depending on the type of door sensor and the features it offers. For example, a door sensor with a built-in alarm may cost more than a basic door sensor.