Fix: Outlook for Mac’s Search Not Working

Outlook is a great program for managing your emails from multiple accounts. Outlook also provides a wide range of features that can be useful for overall time management. Overall, Outlook is a great software that is suitable for business people for management of emails. But, despite being very useful, you might encounter some problems while using Outlook for Mac. A very common problem in Outlook for Mac is its search problems. Sometimes, if you try to search for a specific email you will get “No results found” from the search result. This is a problem because it will give you the “No results found” answer even if your email is in the folder. The error comes without any prior warning so you won’t be able to detect or prevent it. This can be a huge problem especially for people with a lot of emails because it would take a lot of time for them to go through all the emails.

The exact reason of this error is still unknown though but there are a couple of things that might cause this problem like corrupt or incomplete spotlight indexing, one of the parent folders being in privacy tab, Outlook profile folder being stored at a wrong place and several others. Since it can happen because of a lot of things, there are multiple methods that you can try to solve this.

So, go through each method listed below and check whether the problem is solved after following each method.

  1. If you recently added a new account or a new profile or imported new data into the Outlook then it might simply be a matter of time. It takes some time to add newly imported data to Spotlight index. So wait until the indexing is complete and then try again.
  2. Make sure that you have all the latest updates of office. The issue is usually solved by updating your Microsoft Office as well. To update, just simply open Microsoft Outlook, select Help and then select Check for updates. It will check and automatically install the updates.
  3. Sometimes the problem might be caused by the Outlook Profile folder being stored at the wrong place. There is a default location where these folders are supposed to be stored. So, checking these places is a good way to check whether the problem is because of wrong destination. This is the default location /Users/<Username>/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/
  4. Make sure that there aren’t any special characters in your Outlook Profile’s name because that can create a lot of problems. If there are then go to method 1 to delete and recreate your Outlook Profile.
    However, if you don’t want to delete and recreate your profile, you can go to this location /Users/<Username>/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/ and rename your Profile folder without the special characters as well. Don’t forget to replace “<Username>” with your mac username.

Method 1: Remaking Outlook Profile

Sometimes deleting your current Microsoft Outlook profile and recreating the profile solves the problem. The steps for deleting and recreating the Outlook’s profile are given below.

  1. Open your Outlook
  2. Go to Outlook and then Preferences
  3. Select Accounts
  4. Select the account that is having this issue and select the minus (-) symbol
  5. Confirm the action and select delete when it asks for confirmation
  6. Close Outlook once the deleting of account is done
  7. Now go to your Applications folder
  8. Right click Outlook and select Show Package Contents
  9. Now go to Contents and then select ShareSupport
  10. Now open Outlook Profile Manager
  11. Select your main profile, that you are having troubles with, and select the minus (-) symbol to delete it. Confirm any additional prompts
  12. Once it is deleted, select the plus (+) symbol on the bottom left corner to create a new profile
  13. Now, name the profile something other than the Main Profile. It can be your first name or anything. Also, DO NOT include any special characters in the name.
  14. Now open Outlook
  15. Go to Outlook and then Preferences
  16. Select Accounts
  17. Select the plus (+) symbol on the bottom left corner to add the account
  18. Select the type of account you want and proceed

Once you add the account, check the search results once the emails are synced and imported.

Method 2: Moving Message to another Account

This isn’t a solution but more of a workaround but it works for plenty of users. Basically, if you move all of your message, that are having this problem, to another temporary folder within the Outlook and then move them back to their original folder then the search works. This is because it forces the Outlook to re-index them in the search and they start to appear in the search results.

The steps for performing this are given below

  1. Open Outlook
  2. Press and Hold CTRL (Control) key and click on the folder, from the folder list, in which you want to make a new folder. This newly created folder will be used as a temporary folder for your items.
  3. Select New folder and then name it whatever you want. Now press Enter.
  4. Now, Hold down Command key and click the items that you want to select.
  5. Once you are done, click Move in your Home tab
  6. Select Choose Folder
  7. Now type your destination folder’s name. In this case the name of the folder we created above. Once it appears in the result, click it
  8. Select Move
  9. Once your messages are moved, repeat the steps from 4-8 to move your messages back to their original folder

Once you are done, check the search results and it should work fine. If you want to delete the temporary folder that you created then right click the folder, select delete and then confirm any additional prompts.

Method 3: Check Spotlight Privacy Tab

Make sure that you’re Outlook Profile or any of its parent’s folder aren’t in the privacy tab of Spotlight. If your Outlook Profile or any of its parent folder are displayed in the Spotlight privacy tab then Spotlight won’t be able to search. So, remove them from the privacy tab of Spotlight and try again.

To remove your folders from the privacy tab of Spotlight, follow the steps given below

  1. Select Apple Menu
  2. Select Preferences then select Spotlight
  3. Click Privacy tab
  4. Now look for your Outlook’ Profile folder or any of its parents folder in the list
  5. If you find any folder then select it and click the minus (-) symbol on the bottom left to remove it from the privacy tab
  6. Repeat the step for all the folders related to your Outlook’s Profile

Once you are done, quit the system preferences and wait a little bit because it will take some time to re-index the Spotlight. Once the re-indexing is done, check if the search is working again or not.

Method 4: Fix Corrupt Spotlight Index

If nothing else worked then it’s very likely that the Spotlight index may be corrupted. There are some steps that you can take to re-index the Spotlight index which will solve this problem if the problem is caused by the corrupt Spotlight index.

The steps are given below

  1. Restart your Mac just to make sure that the Spotlight index services are running
  2. Press and hold CMD (Command) key and press Space
  3. Type terminal and press Enter
  4. Type mdimport –L and press Enter. Now check if you see more than 1 Microsoft Outlook Spotlight Importer.mdimporter Delete the Outlook application that you aren’t using. Once you are done, empty it from the Trash, restart your Mac, and go back to step 1.
  5. Now type

mdimport -g “/Applications/Microsoft Outlook.app/Contents/Library/Spotlight/Microsoft Outlook Spotlight Importer.mdimporter” -d1 “/Users/<user_name>/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/<my_profile_name>”

On the recent versions of Windows the “-g” doesn’t work anymore, therefore, try the following command if the above one doesn’t work for you and proceed with the steps below:

mdimport -r “/Applications/Microsoft Outlook.app/Contents/Library/Spotlight/Microsoft Outlook Spotlight Importer.mdimporter” -d1 “/Users/<user_name>/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/<my_profile_name>”

and press Enter. Don’t forget to replace “<user_name>” and “<my_profile_name>” with your computer’s username and Outlooks profile name (like Main Profile) respectively.

Note: -g means the default install location of Outlook and the address after –d1 is the default path for your profile folder. If you installed your outlook in a custom location then substitute your custom path in place of –g. Or, if you changed the path of your Outlook Profile folder then substitute that path after –d1.

Wait for it to complete because it will take some time to re-index the Spotlight. Once it is done, check the search again.

ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.

Comments

29
    RM
    Rainbow-Butt Monkey Oct 31, 2017

    This worked. I ended up doing all steps. I had to escape the spaces with backslash (“”) in the terminal command in #4 in order for it to run, but that did the trick. Thanks Kevin!!!

    JB
    John Bottom Nov 27, 2017

    Method 2 worked for me. Dead simple. Select all emails, move them to a new folder, move them back again. Forces them to re-index. Many thanks.

    Reply
      RS
      rs Feb 21, 2019

      The way to really solve the problem if re-indexing does not work is clearing the cache from each mailbox folder by right-click, properties => General tab, button “Clear cache”. You have to do this for each folder and subfolder. Greets Raymond

      Reply
        ME
        Malika Jeffries-EL Dec 10, 2019

        This fixed it for me, thanks!!

        AN
        Arsen Nersisyan Nov 5, 2021

        Thank you very much, this option helped me to fix the problem

    MW
    Melissa Palmer Woodley Feb 1, 2018

    Thank you so much for posting this. Method 2 worked for me as well.

    GC
    Gaurav Chaddah Mar 7, 2018

    I have found an outlook 2011 working by the below detail
    “/Applications/Microsoft Office 2011/Microsoft Outlook.app/Contents/Library/Spotlight/Microsoft Outlook.mdimporter”

    How do I delete this? Can someone guide me? I cannot find it in the Applications. Can someone guide.

      KA
      K. Arrows Author Mar 7, 2018

      see if you can do this through an app called appcleaner, or try doing this from Terminal.

        GC
        Gaurav Chaddah Mar 7, 2018

        Can you guide me on how to do it through terminal ?
        Appinstaller is unable to find the old Microsoft Office , Outlook. I can only see 1 option of Microsoft Outlook.

          KA
          K. Arrows Author Mar 7, 2018

          locate the path first, then open Terminal.
          cd into the path
          for ex: cd Apple Support/etc/etc
          then to remove the file type, rm -rf filename

    VZ
    Vivian Zhong Aug 13, 2018

    I’ve found two “Microsoft Outlook Spotlight Importer.mdimporter” files, one with the path “/Applications/Microsoft Outlook.app/Contents/Library/Spotlight/Microsoft Outlook Spotlight Importer.mdimporter” and the other with the path “/Library/Spotlight/Microsoft Office.mdimporter”. How do I know which to delete?

    MP
    Montana Pratt Oct 9, 2018

    Method 1 worked perfectly – my lack of search was driving me crazy, don’t know why I hadn’t tried to fix it sooner!

    BS
    Bonie Sithebe Oct 24, 2018

    Hi used method one, now I have lost all my old emails how do i get them back and the problem is still not solved 🙁

    JF
    James Flavell Nov 2, 2018

    thanks!!! I went straight to method 4 and found a Office 2011 version in my mac!!
    I just deleted the folder in Finder usinf CMD+Delete (use the Go To function and paste the full path to get to it as the Library folder is hidden in the Finder view).

    I could use the the terminal command as it was with jsut changing the user profile bits and without needing backslashes as everything is in quotes 🙂

    many thanks!!!!

    AT
    Alexey Telyatnikov Nov 13, 2018

    Hi, it says for me in step 4:
    2018-11-13 12:13:03.408 mdimport[843:55860] could not find path ‘Outlook.app/Contents/Library/Spotlight/Microsoft’
    2018-11-13 12:13:03.409 mdimport[843:55860] could not find path ‘Outlook’
    2018-11-13 12:13:03.409 mdimport[843:55860] could not find path ‘Spotlight’
    2018-11-13 12:13:03.409 mdimport[843:55860] could not find path ‘Importer.mdimporterвАЭ’
    2018-11-13 12:13:03.409 mdimport[843:55860] could not find path ‘-d1’
    etc.

    How can I fix it?

    AS
    Asgerhj Dec 18, 2018

    Great guide thanks.

    Method 4 doesn’t work for me unless using the full unix path with space-backslash for “space”, So maybe you could update the guide (You know, just drag-drop the folder on the terminal window). Would help a lot of people I think.

    Also quite important I think:
    I think you should put a highlighted notice in Method , that the content of the profile will be put in the Trash of the Mac. Could be devasting for people with POP3 accounts, and/or other locally stored content, if they thought that everything was lost, and never thought of looking in the Trash, let alone don’t know how to get the content back into Outlook.
    Maybe even move Method 1 down to being last. For a lot of people, using method 1 would take a very long time for their content to resync from the mail server. I see quite a lot of people having mailboxes of more than 20GBs.

    Reply
    MG
    Martin Gregor Jun 19, 2019

    Please be aware, that mdimport does not support ‘-g’ parameter anymore.
    Just use ‘-r’ for reindexing
    mdimport -r “/Applications/Microsoft Outlook.app/Contents/Librar… Outlook Spotlight Importer.mdimporter”

    KA
    K. Arrows Author Jul 11, 2019

    Choose the one in the Applications folder.

    TS
    Tony Scarborough Aug 2, 2019

    The -d1 in the command in the article is to do a test import and output the results to terminal. This will not work without the -t flag and will give you an error. If you add the -t flag and run it the results of the test import are not sent to Spotlight Search so this command is basically useless. As others have mentioned, the correct command to rebuild the index is:

    mdimport -r '/Applications/Microsoft Outlook.app/Contents/Library/Spotlight/Microsoft Outlook Spotlight Importer.mdimporter'

    -OR-

    mdimport '/Applications/Microsoft Outlook.app/Contents/Library/Spotlight/'

    I don’t know if this was a recent change, but on the latest version of OSx I get the following MAN page for mdimport:

    Usage: mdimport [options] path {path...}

    -i recursively import files at 'path', sending results to Spotlight index (implied if no other option is specified)
    -t spotlight server will test-import the specific file, but not send the results to the Spotlight index

    -d[level] output information from test-import. Requires -t
    . -d1 print summary of test-import to console
    . -d2 print summary and imported attributes, except kMDItemTextContent, to console
    . -d3 print summary and all imported attributes to console

    -o outfile save test-import attributes to 'outfile'. Requires -t
    -p Print performance information gathered during test-import. Requires -t
    -A Print the list of all known attributes and exit
    -X Print the schema file and exit
    -L Print the list of known plug-ins which can be used by Spotlight
    -r Ask the server to reimport files for UTIs claimed by plug-in at 'path'

    To test an importer plug-in, it must be correctly installed and findable by Spotlight.

    Reply
      SW
      Shane Warren Author Sep 8, 2019

      Thanks for the input

      KI
      kikan33 Nov 15, 2021

      Tony, you made my day !
      Been trying to correct this issue for way too long after migrating from a previous Mac to a new one, and the command « mdimport ‘/Applications/Microsoft Outlook.app/Contents/Library/Spotlight/’ » is the one that got things rolling !
      Thanks a lot.

    SW
    Shane Warren Author Sep 22, 2019

    Try this:
    ” Open up the terminal
    Run the following command inside the terminal :
    mdimport ~/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/Main Profile”

    SW
    Shane Warren Author Sep 22, 2019

    Have you signed back into the account?

    NI
    NiSuLa Nov 14, 2019

    None of these worked for me, and I can search for emails in the Spotlight, but not in Outlook. Any further ideas? I am on a second hand MacBook, could it have anything to do with that? ie old user stuff/settings somehow still there?

      SW
      Shane Warren Author Nov 19, 2019

      No, it shouldn’t have anything to do with that, can you tell me the exact model?

    KB
    Kevin Boosten Apr 17, 2020

    “Method 3: Check Spotlight Privacy Tab” saved my day. Thanks! I deliberately added the Messages directory to the privacy tab to prevent Outlook messages to appear in Spotlight search. But I did not realize that this also affects Outlook search itself

    Reply
    GN
    GNF Apr 20, 2020

    I am not sure if the above methods actually address the root cause here. If Outlook search does not find an email (which happens quite often) and I can find that email manually, just have to read and unread the item – after that the search can find it. Is this an indexing problem??
    Working on MAC OS 10.15.4, MS Outlook for Mac (updated), Office 365. Mailbox Size currently about 20GB.

      SW
      Shane Warren Author Apr 21, 2020

      What is the point in searching for an email again if you have to found it manually?
      The article actually addresses the issue where Outlook’s search doesn’t work and the solutions have worked for a lot of people.

    JG
    Jose Gomez Dec 10, 2021

    same problem here but finally found what works for me. I reindexed, I removed my account and added it again, I even migrated my laptop all over again and nothing. Finally what worked was to reindex the entire hard drive. I spent 2 long days trying to get this figured out.1.Make sure outlook is closed, click on apple icon>system preferences>spotlight>click on privacy tab2.then add “Macintosh HD” to the list by either dragging it or clicking the + button3.close the window and restart computer.4.go back to click on apple icon>system preferences>spotlight>click on privacy tab and select Macintosh HD and hit the -minus button to remove it.5.leave laptop on for about an hour, make sure it doesn’t turn off and hopefully it works for you like it did me.I am using MBPro 16″ Monterey 12.0.1 M1max chip 16.55 version outlook. and I kept the old outlook, not the new one.

    Reply