Modern government regulation—in the form of building codes, food safety codes, zoning regulations, minimum wage and social security for occasional labor, and town council restrictions on landscaping and animal keeping—can increase the marginal cost of home production of food in areas affected by these restrictions. Careful choice of homesteading location is essential for economic success.