An electrochemical aptasensor was developed for the detection of tetracycline using ssDNA aptamer that selectively binds to tetracycline as recognition element. The aptamer was highly selective for tetracycline which distinguishes minor structural changes on other tetracycline derivatives. The biotinylated ssDNA aptamer was immobilized on a streptavidin-modified screen-printed gold electrode, and the binding of tetracycline to aptamer was analyzed by cyclic voltammetry and square wave voltammetry. Our results showed that the minimum detection limit of this sensor was 10 nM to micromolar range. The aptasensor showed high selectivity for tetracycline over the other structurally related tetracycline derivatives (oxytetracycline and doxycycline) in a mixture. The aptasensor developed in this study can potentially be used for detection of tetracycline in pharmaceutical preparations, contaminated food products, and drinking water.