Saying "Good morning" is common practice in Japan. It is considered a respectful way to greet friends and strangers before 10 am. In Japanese it can be translated in two ways: informal and formal.
Steps
Method 1 of 2: Informal
Step 1. Say ohayo
It literally means "good morning". You can hear the pronunciation here.
Step 2. When greeting friends and family, give a little nod
Since most Japanese do not expect foreigners to be familiar with the traditional rules associated with bowing, it is possible to nod even in a formal setting.
Method 2 of 2: Formal
Step 1. Say ohayo gozaimasu
You can hear the pronunciation here.
Step 2. If you greet someone in a formal and polite manner or address a superior, accompany the greeting with a deep bow
Bend your torso 30-90 degrees. If you are in Japan, this is the correct way to say "good morning" in a formal context.