A status of forces agreement (SOFA) is an agreement between a host country and a foreign nation stationing military forces in that country. SOFAs are often included, along with other types of military agreements, as part of a comprehensive security arrangement.