The federal courthouse on New Bern Avenue in Raleigh was evacuated for about an hour Wednesday morning after a bomb threat.