A contact-type sensor comprising: a contact portion which is brought into contact with an object to be measured, a sensor element which is disposed with a gap between the sensor element and the object to be measured and detects a detection target generated from the object to be measured when the contact portion is in contact with the object to be measured, and a water repellent portion and a water absorbing portion which surrounds the gap together with the object to be measured and the sensor element when the contact portion is in contact with the object to be measured, further comprising a water repellent substrate having the sensor element embedded therein and having a substrate front surface which protrudes to a side of the object to be measured further than the sensor element when the contact portion is in contact with the object to be measured, and a water absorptive sheet which covers the substrate front surface and of which a surface on a side opposite to a surface facing the substrate front surface is the contact portion, wherein, in the water repellent substrate, a hollow portion is formed in a region located between the sensor element and the object to be measured when the contact portion is in contact with the object to be measured, and in the water absorptive sheet, an opening portion is formed in a region located between the sensor element and the object to be measured when the contact portion is in contact with the object to be measured, and the gap is the hollow portion and the opening portion, the water repellent portion is the water repellent substrate, and the water absorbing portion is the water absorptive sheet. a contact portion which is brought into contact with an object to be measured, a sensor element which is disposed with a gap between the sensor element and the object to be measured and detects a detection target generated from the object to be measured when the contact portion is in contact with the object to be measured, and a water repellent portion and a water absorbing portion which surrounds the gap together with the object to be measured and the sensor element when the contact portion is in contact with the object to be measured, further comprising a water repellent substrate having the sensor element embedded therein and having a substrate front surface which protrudes to a side of the object to be measured further than the sensor element when the contact portion is in contact with the object to be measured, and a water absorptive sheet which covers the substrate front surface and of which a surface on a side opposite to a surface facing the substrate front surface is the contact portion, wherein, in the water repellent substrate, a hollow portion is formed in a region located between the sensor element and the object to be measured when the contact portion is in contact with the object to be measured, and in the water absorptive sheet, an opening portion is formed in a region located between the sensor element and the object to be measured when the contact portion is in contact with the object to be measured, and the gap is the hollow portion and the opening portion, the water repellent portion is the water repellent substrate, and the water absorbing portion is the water absorptive sheet.