From Middle Dutch selfde. This was formed from the older selve (modern zelve), probably with -de from some of the ordinal numbers. Further etymology is as for zelf.
Improve your pronunciation
Practice speaking and memorizing "zelfde" and many other words and sentences in Dutch.