I know add-ons such as Glims can do this, but I would rather stay away from them. Any native (or more likely semi-native) way to do so? If it matters, the engine I would like to add is duckduckgo. - Note DuckDuckGo is now in the list but was not when originally asked.

6 Answers 6


No, the only options as of Safari v 17 are Google, DuckDuckGo, Bing, Ecosia, and Yahoo. (list changes over time)

In 2012 it was just Google, Bing, and Yahoo

If it is of any help, DuckDuckGo have their own extension on the Apple website for Safari extensions.

  • 2
    Yeah, it's a shame that such a thing is not configurable without extensions.
    – gentmatt
    Jan 17, 2012 at 7:18
  • In one of the recent updates (much more recent than the question), Apple added DuckDuckGo as a search engine. Apr 2, 2015 at 2:39

The Safari Extension anysearch allows you to change the search engine used by the Safari search bar/unibar, without any hack-ish stuff such as changing the hosts file.

  • Here is a direct link to AnySearch. Despite being an extension, it "does not have permission to read or transmit content from any webpages" according to Safari. Sep 8, 2017 at 17:31
  • 1
    This was good, but Safari no longer supports search extensions: there is this message in that AnySearch link since Jan 2020: "DEPRECATED: Safari no longer supports extensions that modify the behaviour of the address bar. "
    – Martin
    Oct 7, 2020 at 9:42
  • 1
    @Martin xSearch is a new extension that works on current Safari.
    – jobukkit
    Apr 15, 2023 at 20:52

MacHints just did a post on this. The basic premise is that you redirect Yahoo! Search via the hosts file to the search engine of your choice. It works like a charm.


in your /etc/hosts file, add this line: search.yahoo.com

then choose Yahoo as your default search.


For DuckDuck&Go, close Safari, and open the Terminal and enter:

defaults write com.apple.Safari SearchProviderIdentifier "com.duckduckgo"


This works with Safari 5.1.10 on Mac OS 10.6.8

To get Safari to open with duckduckgo (or any other) as search engine with no add ons or hacking type >https://duckduckgo.com/< (without the ><) into the Safari Preferences "Homepage" then set "New windows open with" to "Homepage" and "New tabs open with" "Homepage". This keeps the 3 default search engines as they were, at the top. OR just make the search engine of your choice a bookmark in the Bookmark bar and just click it/them.

  • Yeah, but that doesn't actually add it as a search engine, just changes what page windows/tabs open with.
    – JMY1000
    May 2, 2016 at 19:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .