To add search form in Magento header, you need modify the header layout. To do it, you need edit the file app/design/frontend/default//layout/catalogsearch.xml and add next code:





Remember clear Magento caches to view the changes.