It is found that a strongly confined magnetic stray field can be generated from a narrow domain wall. The field strength is stronger than from an ordinary domain wall because the wall is localized within a few tens of nanometers in its lateral dimensions. Such a narrow domain wall can be formed in an interlayer exchange coupled system for which only a part of one of the ferromagnetic layers is coupled with the other ferromagnetic layer. Since the coupled and free regions have different local switching fields, a domain wall will form at the interface between the two regions. The interlayer coupling and Zeeman energies play an important role in the domain wall energy equations.