The administrative and historic boundaries around Middlesex diverged very early on, with the recognition of the City of London as an independent county borough. In 1888 much of the area became part of the County of London.
In 1965, most of Middlesex was subsumed by the new Greater London except the parish of South Mimms, which was ceded to Hertfordshire, and Staines, which was ceded to Surrey.
Middlesex as a traditional county still technically exists, however, although it appears on no modern maps and it is certainly still sometimes used in postal addresses.