Gareth Benbow, of Inverness, was charged with culpable and reckless conduct. He made no plea or declaration.
Mr Benbow was committed for further inquiry and remanded in custody.
His next appearance is expected to be on 4 September.
A 33-year-old man has appeared in private at Inverness Sheriff Court in connection with an alleged bomb threat at Raigmore Hospital.