Allan Kuhn Grim (October 15, 1904 – December 7, 1965) was a United States federal judge.
Born in Kutztown, Pennsylvania, Grim received an A.B. from Swarthmore College in 1924 and an LL.B. from Harvard Law School in 1929. He was in private practice in Reading, Pennsylvania from 1929 to 1949. He chaired the Berks County, Pennsylvania Democratic Party Committee from 1940 to 1944.
On October 21, 1949, Grim received a recess appointment from President Harry S. Truman to a new seat on the United States District Court for the Eastern District of Pennsylvania created by 63 Stat. 493. Formally nominated on January 5, 1950, Grim was confirmed by the United States Senate on April 4, 1950, and received his commission on April 7, 1950. He assumed senior status on November 1, 1961, serving in that capacity until his death in Philadelphia, Pennsylvania.