Grammoptera is a genus of beetles in the family Cerambycidae, distributed primarily in the Northern Hemisphere.