Normally Emacs uses the environment variable @env{HOME} (@pxref{General Variables, HOME}) your home directory to find @file{.emacs}; @file{~/.emacs}; that's what @samp{~} means in a file name. @xref{General Variables, HOME}. If @file{.emacs} neither @file{~/.emacs} nor @file{~/.emacs.el} is not found inside @file{~/} (nor @file{.emacs.el}), found, Emacs looks for @file{~/.emacs.d/init.el} (which, like @file{~/.emacs.el}, can be byte-compiled).