Born in Flemingsburg, Kentucky, he graduated from the law department of Transylvania University, Lexington, Kentucky in 1826 and was admitted to the bar the same year.
Andrews commenced practice in Flemingsburg, Kentucky. He was elected as a Whig to the Twenty-sixth and Twenty-seventh Congresses (March 4, 1839 – March 3, 1843) but was an unsuccessful candidate for reelection in 1842 to the Twenty-eighth Congress. After leaving the state legislature, Andrews was the judge of the circuit court 1862-1868.
He resumed the practice of law in Flemingsburg, Kentucky where he died in 1888.
He was buried in Fleming County Cemetery.
Andrews was the prosecuting attorney of Fleming County, Kentucky, 1829–1839, and a member of the Kentucky House of Representatives, 1834-1838. After leaving Congress, he served in the Kentucky Senate as an independent candidate in 1857 and was again elected a member of the Kentucky House of Representatives, in 1861, and served until 1862, when he resigned.