If a US service member is convicted in a court-martial, incarceration is just one of many possible penalties they could face. The severity of their penalty depends on the level of the offense they committed. It’s possible for a defendant to be removed from military service under dishonorable discharge, face forfeiture of all pay and allowances, and face incarceration in a military prison.