Title: Israeli Defense Service Law
Content:  Service for men is set at 36 months, however, recruits over the age of 27 are only required to serve for 24 months. Immigrants who arrive in Israel at the age of 27+ years are only required 18 months of service. (Article 15) Service for women is set at 24 months, yet women may volunteer for an additional 12 months under section 16a. (Article 16) Any soldier tried and found guilty by a military court or deserters who are returned to service are to have their service time extended to meet the requirements of regular service duty under Article 18.
Title: Israel
Content:  forces in the world. Most Israelis are drafted into the military at the age of 18. Men serve two years and eight months and women two years. Following mandatory service, Israeli men join the reserve forces and usually do up to several weeks of reserve duty every year until their forties. Most women are exempt from reserve duty. Arab citizens of Israel (except the Druze) and those engaged in full-time religious studies are exempt from military service, although the exemption of yeshiva students has been a source of contention in Israeli society for many years. An alternative for those who receive exemptions on various 
Title: Military service
Content:  and women. All Israeli citizens are conscripted at age 18, with the following exceptions:  Typically, men are required to serve for 2 years and 8 months, while women for 2 years. Officers and other soldiers in certain voluntary units such as Nahal and Hesder are required to sign on for additional service. Those studying in a "Mechina" (pre-induction preparatory course) defer service until the conclusion of the program, typically one academic year. An additional program (called "Atuda'i") for qualified applicants allows post-secondary academic studies prior to induction. There is a very limited amount of conscientious objection to conscription into the IDF. More common is 
Title: Israeli Ground Forces
Content: Regular service (שירות חובה): mandatory military service which is held according to the Israeli security service law. ; Permanent service (שירות קבע): military service which is held as part of a contractual agreement between the IDF and the permanent position-holder. ; Reserve service (שירות מילואים): a military service in which citizens are called for active duty of at most a month every year (in accordance with the Reserve Service Law), for training and ongoing military activities and especially for the purpose of increasing the military forces in case of a war. The military service is held in three different tracks:  Sometimes the IDF would also hold pre-military courses (קורס קדם צבאי or קד"צ) for soon-to-be regular service soldiers.
Title: Israel Defense Forces
Content:   National military service is mandatory for all Israeli citizens over the age of 18, although Arab (but not Druze) citizens are exempted if they so please, and other exceptions may be made on religious, physical or psychological grounds (see Profile 21). The Tal law, which exempts ultra-Orthodox Jews from service, has been the subject of several court cases as well as considerable legislative controversy. Until the draft of July 2015, men served three years in the IDF. Men drafted as of July 2015 and later will serve two years and eight months (32 months), with some roles requiring an additional four months of Permanent service. Women 
Title: Israel Defense Forces ranks
Content:  military service in Israel, all soldiers begin a basic training course and undergo several weeks or months of 'integration' from citizens to soldiers. This course is called tironut ("recruit training") and the soldier being trained on this course is called a tiron (or "recruit"). This is often erroneously interpreted as a rank, similar to the US Army's private (E-1); tironim are ranked as turai (private), the same rank and paygrade as newly trained conscripts. Both officers and enlisted personnel have an obligation to serve in the Reserves after completing their active military service. Male personnel serve until 41–51 years old while female personnel serve until 24 years old.
Title: Conscription in Israel
Content:  In 1949, after the founding of the State of Israel, the Defense Service Law gave the IDF the authority to enlist any citizen. Draftees would then be required to show up for the draft in accordance with the military's decision to enlist them. Under this law, the period of service for men was 30 months and for women 18 months (although in accordance with a temporary order from January 10, 1968, six additional months were added to the mandatory service, 36 months for men and 24 months for women respectively.) The service for men has been reduced to 32 months since 2015, and to 30 months since 2020. The draft requirement applies to any citizen or permanent resident who has reached the age of 18, and in 
Title: Israel Defense Forces
Content: Regular service (שירות חובה): mandatory military service which is held according to the Israeli security service law. ; Permanent service (שירות קבע): military service which is held as part of a contractual agreement between the IDF and the permanent position-holder. ; Reserve service (שירות מילואים): a military service in which citizens are called for active duty of at most a month every year (in accordance with the Reserve Service Law), for training and ongoing military activities and especially for the purpose of increasing the military forces in case of a war. The military service is held in three different tracks:  Sometimes the IDF would also hold pre-military courses (קורס קדם צבאי or קד"צ) for soon-to-be regular service soldiers.
Title: Conscription in Israel
Content:  studies with military service in the Israel Defense Forces. They normally serve for a year and five months instead of three years. ; Draftees who state that they are pacifists are required to appear before a committee tasked with examining the credibility of their claim. Exemption from service is granted if the committee is persuaded that their pacifism is sincere and meets the agreed criteria. Only a few individuals each year are granted an exemption on grounds of pacifism; all other self-declared pacifists are required to enlist. ; Immigrants who immigrate to Israel at the age of recruitment get various concessions in their military service. ; Draftees with a physical disability which are exempt from military service may still volunteer to serve. It can be 
Title: Australian Jews in Israel
Content:  single and 24 months if they are married, regardless if they have children or not. Male immigrants who are 20 or 21 years old, upon arrival, serve 24 months if they are single and 18 months if they are married. If they are between the ages of 22 and 27, they must serve 18 months in non-combat service and 24 months in combat service. All female immigrants, regardless of their family status, serve 24 months at the age of 18 or 19, 12 months at the age of 20 or 21 and 12 months in non-combat service and 24 months in combat service if they are between the ages of 22 and 27.

Question: how long do you have to serve in the israeli military?
Answer: two years for women.