Mental health teams will be placed in police stations and courts across north east London under a new pilot scheme designed to cut reoffending.
Police said the initiative will reach more than 2.5 million people at seven courts and 13 custody suites and would ensure vulnerable adults and young people can be assessed at an early stage.
Evidence shows that a third of young people who have committed offences have mental health needs, and a fifth have a learning disability.
Officers said they hoped the scheme would enable people to get the help they need as well as reducing the burden on police and the courts.
More top news
14-year-old Joshua Mould has learning difficulties and struggles to communicate.
David Haines' daughter tells ITV News families of IS victims will not get closure until there is a "bullet between the eyes" of Jihadi John.
The Essex boy will be racing for a new team - Manor - after the team formerly known as Marussia came out of administration.