Its enharmonic equivalent is F-sharp major, whose key signature also has six accidentals. In writing music in E major for B-flat instruments, it is preferable to use a G-flat rather an F-sharp key signature.