Poor sanitation contributes to morbidity and mortality in the developing world, but there is disagreement on what policies can increase sanitation coverage. To measure the effects of alternative policies on investment in hygienic latrines, we assigned 380 communities in rural Bangladesh to different marketing treatments—community motivation and information; subsidies; a supply-side market access intervention; and a control—in a cluster-randomized trial. Community motivation alone did not increase hygienic latrine ownership (+1.6 percentage points, P = 0.43), nor did the supply-side intervention (+0.3 percentage points, P = 0.90). Subsidies to the majority of the landless poor increased ownership among subsidized households (+22.0 percentage points, P < 0.001) and their unsubsidized neighbors (+8.5 percentage points, P = 0.001), which suggests that investment decisions are interlinked across neighbors. Subsidies also reduced open defecation by 14 percentage points (P < 0.001).