A split gate transistor having a semiconductor substrate, a source region and a drain region formed on the semiconductor substrate. A channel region is formed between the source region and the drain region. A floating gate electrode is formed substantially above the channel region. The floating gate electrode has an end surface. A control gate electrode is provided over the semiconductor substrate so as to overlap the floating gate electrode. The control gate electrode has an end surface formed level with the end surface of the floating gate electrode.