And a 5-8 pound bone-in ham needs 35-40 minutes. For cooking times of all these hams, we turn to the USDA for the safest advice. Here’s the chart you should consult for this year’s holiday ham.