Bartlett entered the United States Naval Academy in November 1859 and attended the Academy until being transferred to the steam sloop USS Brooklyn in the early months of the American Civil War. While on board the Brooklyn, he was present during the capture of Forts Jackson and St. Philip in April 1862, the capture of New Orleans a few days later, as well as the Siege of Vicksburg. He was promoted to ensign in 1863 and served on Admiral Dahlgren's staff during the blockade of Charleston from 1863 to 1864. He was promoted to lieutenant in February 1864. He also participated in the assault on Fort Fisher in North Carolina in January 1865. After the war, he mapped parts of West Africa, Tehuantepec, and the Coatzacoalcos River. He was promoted to lieutenant commander in July 1866. He married Jeanie R. Jenckes of Lonsdale, Rhode Island on February 6, 1872. He was promoted to the rank of commander in 1877. From November 1878 until 1882, he commanded the oceanographic survey ship George S. Blake of the US Coast and Geodetic Survey, where he discovered, between Jamaica and Cuba, the Bartlett Deep. Other accomplishments while commanding the Blake included working with biologist Alexander Emanuel Agassiz and studying the Gulf Stream. From 1882 until 1888 he was in charge of the Hydrographic Office. In 1888 he was one of 33 co-founders the National Geographic Society. He was promoted to captain in 1892. On December 10, 1896 he assumed command of the newly "repaired" monitor USS Puritan. He was involuntarily retired from the Navy on 12 July 1897 for "incapacity resulting from incident of service".
Later life
In 1898 he received an honorary Doctor of Science degree from Brown University. During the Spanish–American War, Bartlett was recalled to active duty on 25 April 1898 and served until October of that year. Upon his recall, he was placed in charge of the Office of Naval Intelligence and the Coast Signal Service. On July 9 he was also placed in command of the Auxiliary Naval Force which consisted of 41 vessels, 200 officers and 3,000 men. The Auxiliary Naval Force was responsible for coastal defense and was organized into nine districts which covered the Atlantic, Gulf and Pacific coasts of the United States. With the rapid conclusion of hostilities against Spain, the Auxiliary Naval Force was disbanded almost as quickly as it was formed with most of its vessels being deactivated by the end of August. In February 1903, he was promoted by President Theodore Roosevelt to the rank of rear admiral on the retired list. Bartlett died in Lonsdale, Rhode Island in 1904. He was buried in the Swan Point Cemetery in Providence.