Within the Law is a 1939 American crime film directed by Gustav Machatý and written by Charles Lederer and Edith Fitzgerald. The film stars Ruth Hussey, Tom Neal, Paul Kelly, William Gargan, Paul Cavanagh and Rita Johnson. The film was released on March 17, 1939, by Metro-Goldwyn-Mayer.
The film is based on the play Within the Law by Bayard Veiller.