Williams was commissioned an ensign in the United States Navy in May 1987. After a six-month temporary assignment at the Naval Coastal System Command, she was designated a Basic Diving Officer. She next reported to the Naval Air Training Command, where she was designated a Naval Aviator in July 1989. She received initial H-46 Sea Knight training in Helicopter Combat Support Squadron 3 (HC-3), and was then assigned to Helicopter Combat Support Squadron 8 (HC-8) in Norfolk, Virginia, with which she made overseas deployments to the Mediterranean, Red Sea and the Persian Gulf for Operation Desert Shield and Operation Provide Comfort. In September 1992, she was the Officer-in-Charge of an H-46 detachment sent to Miami, Florida, for Hurricane Andrew relief operations aboard USS Sylvania. In January 1993, Williams began training at the U. S. Naval Test Pilot School. She graduated in December, and was assigned to the Rotary Wing Aircraft Test Directorate as an H-46 Project Officer and V-22 chase pilot in the T-2. Later, she was assigned as the squadron Safety Officer and flew test flights in the SH-60B/F, UH-1, AH-1W, SH-2, VH-3, H-46, CH-53, and the H-57.