USS Fern was originally a lighthouse tender built in 1871 by Delameter and Stack of New York City. She was transferred to the United States Navy from the United States Treasury Department on 30 January 1891. Fitted out as a gunboat, Fern was commissioned on 22 April 1891, with Lieutenant Commander A. J. Iverson in command.