William Doliber Gregory (December 31, 1825 – August 14, 1904) was an American sea captain born in Marblehead, Massachusetts. Gregory was captain of the clipper ship Tejuca from her 1854 completion to her foundering and sinking in an 1856 hurricane; Gregory and most of his crew were rescued only at the last moment by the courageous intervention of a passing ship. Gregory was later commander of the bark Albers, and in 1857 is said to have put down a riot on his ship virtually singlehanded.