This manuscript reports on the development of a needle-type sensor for in situ on-site measurement of pH. Conventional pH microelectrode sensors are fabricated by pulling glass pipettes and applying ion-selective films at the tip. However, these sensors suffer from low fabrication yields and short sensor lifetime due to disruption or loss of the ion-selective membrane after repeated use. The developed needle-type sensor is fabricated by meniscus etching and takes advantage of the MEMS batch fabrication techniques. The sensor is based on the ion-selective properties of iridium oxide film, which was deposited at the sensor tip by electrodeposition. The sensor exhibited a Nernstian response with sensitivity of ∼62 mV/pH in the pH 2 to 12 range. The sensor also exhibited a fast 5 s response and a lifetime of ∼2 months when stored in a pH7 buffer solution, which is substantially longer than that of the conventional pulled-pipette sensors.