lemon bars should be stored in an airtight container and refrigerated in order to prevent bacterial growth or foodborne illness. the filling in lemon bars is made with eggs and can become a breeding ground for bacteria if it's kept in the danger zone (between 41 and 153 degrees f).