Since 1984, improper fraternization has been recognized as a punishable offense. military also has regulations regarding marriage among officers or enlisted soldiers. Army, Navy, Air Force and Marines all have regulations in place prohibiting this activity as a kind of fraternization.
The guidelines regarding dating vary depending upon rank, but apply regardless of gender or direct lines of command. Military regulations chiefly regulate against dating between two soldiers of different ranks. Military policy in all branches prohibits all kinds of fraternization between soldiers of different grades; while the prohibited relationship is officer/enlisted solider, it also applies to any two different grades of soldier.
All branches of the United States military maintain regulations that govern dating, and any fraternization, among both officers and enlisted soldiers.The senior ranking officer in such situations is considered to have greater ability to promptly discontinue any behaviors in breach of policy, but both soldiers are considered equally accountable.