We have developed a bifunctional probe based on triplex molecular beacons for the measurement of environmental pH and quantification of microRNA-10b using a nanopore. The probe responds sharply to solution pH changes in the range of 6.0-7.5. The limit of detection for microRNA-10b is as low as 5.0 pM.