Can niacin cause headaches?

niacin is a “methyl sponge”. Can this cause headaches?

Another possibility is the headache may be related to the dilation of blood vessels (a result of the flushing effect) or an imbalance caused by niacin’s impact on the blood flow.