A bifunctional total NOx and O2 sensor assembly with an internal reference for high temperature sensing. Two electrochemical total NOx(NO+NO2) measuring systems and method were coupled with a metal/metal oxide internal oxygen reference to detect O2 and NOx simultaneously in a combustion environment using a single sensor. A Pd/PdO-containing reference chamber was sealed within a stabilized zirconia superstructure by a high pressure/temperature bonding method. An amperometric and potentiometric NOx sensor assembly was built on the outside of the Pd/PdO chamber. Pt-loaded zeolite Y was used to obtain total NOx capacity and also to cover the Pt electrodes for detecting oxygen in the presence of NOx.