This chapter discusses the structure and functioning of the spot foreign exchange (FX) market. The market structure, which has become far more complex over the past three decades, has mostly evolved endogenously as the global FX market is subject to notably less regulatory oversight than equity and bond markets in most countries. Major banks used to dominate liquidity provision but they have found their role challenged by High Frequency Trading firms in an increasingly fragmented electronic market. The information structure of the market has also changed: In particular high-frequency cross-asset correlations, especially with the futures market, have become more important. The chapter also discusses the important role of the official sector in the FX market, and it highlights a few special topics such as flash events and the FX fixing scandal. We conclude with some suggestions for future research