Gary J. Heim


(717) 231-5216 | Fax: (717) 236-1816


  • Pennsylvania Bar Association
  • American Agricultural Law Association
  • Dauphin County Bar Association

Awards & Recognition

  • City & State PA’s 2022 PA Agriculture Power 100 List

Mete, Evans & Woodside - Best Lawyers 2021


Agricultural law has been the focus of Gary Heim’s practice during his entire legal career spanning more than 40 years. He provides a broad range of legal services to Pennsylvania’s farm and agri-business community and has counseled thousands of the state’s family farms with the transition of those businesses to the next generation through his statewide practice.

Widely known and highly respected in the agricultural community, Gary has served on the Board of the Agricultural Law Center of The Dickinson School of Law / The Pennsylvania State University. He is a past chairperson of the Agricultural Law Committee of the Pennsylvania Bar Association.

He has been a guest speaker at programs sponsored by the Pennsylvania State University’s College of Agriculture, the Pennsylvania Bar Institute, the Cooperative Extension Service, the U.S. Department of Agriculture, and many other businesses, banks and organizations. Since 1980, he has provided legal services to members of the Pennsylvania Farm Bureau through its Legal Service Plan.

Gary was reared on a family farm in Schuylkill County. He now resides in Lebanon County. He has four adult children and several grandchildren. He is actively involved in his church, where he is and has served in many leadership, teaching and child education programs.


  • Pennsylvania State University – Dickinson School of Law, J.D.
  • Elizabethtown College

Court Admissions

  • Pennsylvania Bar

Articles & Media

Will Your Whole Life Insurance Expire Before You Do?

Will Your Whole Life Insurance Expire Before You Do?

Some farmers have purchased whole life insurance as an integral part of their estate/farm succession plan. Some of our clients, who have purchased whole life insurance as part of their farm succession plan, however, are discovering, unexpectedly, that their insurance may lapse before their deaths, whether automatically or due to unaffordable premium increases. 

How Does a Like-Kind Exchange Work?

How Does a Like-Kind Exchange Work?

Most farmers and land owners have heard of a like-kind exchange, which goes by several other names, including a 1031 exchange or a tax-free exchange. The primary purpose of an exchange is to reduce the federal income taxes resulting from the sale of real estate.

Prenuptial and Postnuptial Agreements in Farm Succession Planning

Prenuptial and Postnuptial Agreements in Farm Succession Planning

As part of the succession planning process, most farm owners anticipate the challenge of balancing the older (transferring) and the younger (receiving) generations’ financial needs. And, they know that a difficult decision about the fair distribution of assets among the on-farm and the off-farm children is inevitable. However, equally important in the succession planning process, discussing prenuptial and postnuptial agreements (“marital agreements”) comes as a surprise or is uncomfortable for many from a family or moral perspective.