Area codes 305, 786, and 645 are telephone area codes in the North American Numbering Plan (NANP) for Miami, Florida, Miami-Dade County, and the part of Monroe County in the Florida Keys in the United States. The mainland portion of Monroe County is served by area code 239.