- It is forbidden to walk beyond the Techum on Shabbat. In general, the techum is a 2000 Amot beyond the immediate 4 amot area around a person.
Determining the Techum
- If a person is alone in the desert, the Techum extends 2000 amot beyond the 4 amot area him. If one is in a house, the Techum is 2000 amot from outside the house. 
- If one is in a village, town, or city, one may have 2000 amot from the outer bounds of the city, depending on the density of the houses. If there are 6 homes each within 70.66 amot of another home are considered a city and the Techum would begin from 2000 amot outside the group of houses. Any home that is within 70.66 amot of the established city is included in the city, however, a house which is more than 70.66 amot from other houses is not included in the city and the Techum for residents of that house is only 2000 amot from the edge of that house. Therefore, a suburban area with houses separated more than 70.66 amot are not considered part of a city and residents of a house only have 2000 amot from that house. 
- Many cities have 2000 from the edge of the city which are drawn as a rectangle along the directions of a compass, from the edge of the northern most house, eastern most house, southern most house, and western most house. However, if the city is already rectangle, L-shaped, or arc shaped may not have this extension of squaring off the city.
- Because the laws of establishing a Techum and extending the Techum with a Eruv Techumin are complicated one should consult a local Orthodox Rabbi. 
- If one's Techum includes the entire length of a city, which is defined above, the city is only considered 4 amot and one may walk beyond that city for the rest of one's 2000 amot. For example, if one's dwelling place is 500 amot from a city and the city is 1000 amot long, the city is only considered 4 amot. Therefore, one is able to walk another 1496 amot after the city. However, if one's Techum ends in the middle of the city, the city is not considered 4 amot and one may not walk beyond one's Techum.
Walking to the edge of the Techum
- It is forbidden to walk to the edge of the Techum in order to leave on a journey quickly after Shabbat. However, if the action one is going to do after Shabbat could theoretically have been done on Shabbat, it is not forbidden to walk tot the edge of the Techum waiting for the end of Shabbat. For example, one may walk to the edge of the Techum in order to bring one's animal back because theoretically one could have done this on Shabbat if there were houses extending the Techum. Also one may walk to the edge of the Techum in order to collect fruit which fell before Shabbat and aren't Muktzeh because theoretically one could have done so on Shabbat if there were walls surrounding the path (which would permit carrying on Shabbat). 
- One may walk to one's garden within the Techum in order to pick fruit after Shabbat since it is not evident that one is walking there for that purpose.
- See a summary of the halacha's of Techum with pictures on TechumShabbos.com
- Shulchan Aruch 397:1, Kitzur Shulchan Aruch 95:1. Mishna Brurah 397:1 writes that some hold that walking beyond 12 mil on shabbat is a Biblical prohibition, while others consider it a rabbinic prohibition.
- 39 Melachos (Rabbi Ribiat, vol 4, pg 1386-7)
- Kitzur Shulchan Aruch 95:2
- 39 Melachos (Rabbi Ribiat, vol 4, pg 1387-9)
- 39 Melachos (Rabbi Ribiat, vol 4, pg 1391-2)
- 39 Melachos (Rabbi Ribiat, vol 4, pg 1393)
- Kitzur Shulchan Aruch 95:12
- Kitzur Shulchan Aruch 90:3
- Kitzur Shulchan Aruch 90:3