Retired Navy captain Louis P. Davis, 94, a veteran of both World Wars and holder of a Navy Cross, died of heart failure Tuesday at Bethesda Naval Hospital.

Capt. Davis was born in Wilmington, N.C. He was a 1905 graduate of the Naval Academy at Annapolis.

In World War I he commanded the destroyer U.S.S. Jarvis of the Atlantic fleet, and was awarded a Navy Cross for distinguished service against the enemy during troop and supply convoy operations.

Capt. Davis held a number of posts between the wars, including that of director of training in the Navy's Bureau of Navigation here. From 1936 through 1937, he was commanding officer of the battleship US.S. Maryland. He then was named inspector of ordnance of the Naval Ammunition Depot at Hingham, Mass., until he retired in 1940.

He was recalled to active duty just before the U.S. entry in World War II and served as inspector of all ammunition activities for the Navy's Bureau of Ordnance from 1944 until his second retirement in January, 1946. He had lived in Washington since 1944.

Capt. Davis was a member of the Army and Navy Club.

He is survived by his wife, Edna, of the home: four sons, retired Navy captain George J., of Merritt Island, Fla., Louis P., of Sarasota Fla., Shethar, of Wabash, Ind., and Thomas W., of Atlanta, Ga.; a sister, Emily Parmelle, of Wilmington, N.C., nine grandchildren and one great-grandchild.