A new type of gas sensor was realized by directly depositing carbon nanotube on nano channels of the anodic alumina oxide (AAO) fabricated on p-type silicon substrate. The carbon nanotubes were synthesized by thermal chemical vapor deposition at a very high temperature of 1200 oC to improve the crystallinity. The device fabrication process was also developed. The contact of carbon nanotubes and p-type Si substrate showed a Schottky behavior, and the Schottky barrier height increased with exposure to gases while the overall conductivity decreased. The sensors showed fast response and recovery to ammonia gas upon the filling (400 mTorr) and evacuation.