When you create a Google custom search, the autocomplete might take some time to go live.google custom search autocomplete not working - how to fix

To fix your Google custom search not working issue, follow the steps below.

  1. Login into your Google custom search control panel.
  2. Choose your custom search engine.
  3. Go to Search features-> Autocomplete and “enable autocomplete”.Basic
  4. Go to Setup-> Basics-> Get code and copy the code.google custom search autocomplete not working - how to fix
  5. Edit this code following the instructions below for enabling autocomplete in the google custom search code, replace


    <gcse:search enableAutoComplete="true"></gcse:search>

    For example-

      (function() {
        var cx = '003606982592251140240:5xbiwoxb3m0';
        var gcse = document.createElement('script');
        gcse.type = 'text/javascript';
        gcse.async = true;
        gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
        var s = document.getElementsByTagName('script')[0];
        s.parentNode.insertBefore(gcse, s);
    <gcse:search enableAutoComplete="true"></gcse:search>

    This will enable autocomplete.google custom search autocomplete not working - how to fix

  6. You might have to wait for 24 hours for the changes to appear.
  7. Google custom search autocomplete comes with ads. For an ad free experience, you could sign up for ExpertRec’s autocomplete service.google custom search autocomplete not working - how to fixFix your google custom search

muthali ganesh

Muthali loves writing about emerging technologies and easy solutions for complex tech issues. You can reach out to him through chat or by raising a support ticket on the left hand side of the page.

You may also like