Before entering a Japanese temple or shrine, check to see if shoes are allowed. Many prefer for you to remove your shoes and either leave them in available storage or carry them with you. Be sure to wear nice, clean socks. To be respectful, you should also avoid wearing shorts/short pants. Wear respectable skirts (women) or long pants (men and women).
#
Step 2
If you observe others bowing before entering the establishment, it would likely be wise for you to do so, too. Pay careful attention to the direction they face when they bow, for they're likely bowing to a specific part of the temple/shrine or a specific object.
#
Step 3
If there is a purification fountain, use the ladle to lift water out to wash both your hands. Then ladle water into your hands and rinse your mouth--do not drink from the ladle--before spitting the water out. Do not spit in the fountain.
#
Step 4
If incense (osenko) is available, buy some. You should light it, let it burn briefly, then put the flame out. Be sure to do this by waving your hand, not by blowing. Place the incense in the incense holder and waft the smoke towards yourself, especially if you have an injury. The smoke is believed to have healing powers.
#
Step 5
If there is a gong available, use it before beginning to pray. Use it once. Do not try to play a drum solo on the gong. There may be a bell instead of a gong; ring the bell. Again, ring the bell only once.
#
Step 6
Take a few moments to pray before the temple's sacred object. Be sure to put a coin or two in the coin box available.
#
Step 7
Do not visit if you are ill or in mourning; do not bring ill or mourning people with you. These are considered impurities that could taint the location.
#
Step 8
Only take photographs if given express permission.
#
Step 9
As you would in any establishment, behave with respect and courtesy for those around you. It's generally customary to maintain silence around the temple/shrine area.