scare out of one's wits
To frighten very much.
The owl's hooting scared him out of his wits.
The child was scared stiff in the dentist's chair.
Pete's ghost story scared the daylights out of the smaller boys.
Categories:
Source: A Dictionary of American Idioms