Foods such as meat, fish, poultry, nuts, whole grains, and legumes are good sources of niacin.