Du Bois's health declined during the two years he was in Ghana, and he died on August 27, 1963, in the capital of Accra at the age of 95.