Robert J. Macauley (February 18, 1838 – March 17, 1904) was a Scottish American immigrant, lawyer, legislator, and judge. He was active for most of his adult life as a district attorney and county judge in Dunn County, Wisconsin. In some historical documents his name is spelled McCauley.