The present invention relates to genes for enzymes having the activity of transferring a methyl group to lignans, plants with an altered lignan composition using these methyltransferases, and so on. More particularly, the present invention relates to enzyme genes having the activity of synthesizing methylated lignans, preferably enzyme genes having the activity of synthesizing sesame-derived methylated lignans, and use thereof.