Setting frame-title-format and icon-title-format to nil does not help.

enter image description here

  • 2
    You can try (set-frame-parameter (selected-frame) 'name nil) and (set-frame-parameter (selected-frame) 'title nil). Note, that this has nothing to do with mode-line-format.
    – Tobias
    Jun 21, 2017 at 13:34
  • While I can appreciate the wish for a clean empty title bar, the icon can prove useful now and then: if you click and hold on it for a second you can drag-and-drop it on to another app, just as if you were dragging a file from the Finder
    – deprecated
    Jul 31, 2017 at 19:53

2 Answers 2


Install emacsmacport:

brew tap railwaycat/emacsmacport brew install emacs-mac

And then

defaults write org.gnu.Emacs HideDocumentIcon YES

  • I've being using this distribution already. And the defaults command changes nothing. Aug 1, 2017 at 5:09
  • Ah, then you may need to install with the --with-natural-title-bar option.
    – cxa
    Aug 1, 2017 at 5:16

In emacs 26 you can set ns-use-proxy-icon

(setq ns-use-proxy-icon nil)

I was able to get a completely "clean" transparent title bar:

enter image description here

Download emacs 26 for mac, add the following config to your .emacs, and restart emacs.

    (add-to-list 'default-frame-alist '(ns-transparent-titlebar . t))
    (add-to-list 'default-frame-alist '(ns-appearance . dark)) ;; assuming you are using a dark theme
    (setq ns-use-proxy-icon nil)
    (setq frame-title-format nil)
  • This works very well. Except when using something like BetterSnapTool, the width and height of frame will show in the title bar somehow.
    – lkahtz
    Feb 4, 2021 at 2:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.