Undecane (also known as hendecane) is a liquid alkane hydrocarbon with the chemical formula CH3(CH2)9CH3. It is used as a mild sex attractant for various types of moths and cockroaches, and an alert signal for a variety of ants. It has 159 isomers.