Utilizing the specific interaction between carboxylic groups and ammonia gas has led to the development of an ultra-sensitive ammonia sensor based on a quartz crystal microbalance using nanofibers overlaid with carboxylic group-functionalized MWCNTs.