Viewing scene render (hidden and unhidden) rather than hide in viewport
Enable both restriction toggles.


Disable in Viewports
Disable in Renders


Two options

Change or Keyframe them both.


Add a driver. Go to the Edit &gt; User Preferences and enable Auto Run Python Scripts.

Add a driver to the Viewport Visiblity property, by clicking on its screen icon with a right click an choosing Add Driver. In the drivers popup (or in the Driver Editor), set the Type to Scripted Expression, enable Use Self and enter the Expression self.hide_render. This will change the value of the Viewport Visibility property to whatever value the Render Visibility is changed to.

It is now &quot;connected&quot; to the Render Visibility via the driver and any changes of the Render Visibility will directly be copied on the Viewport Visibility and be visible in the Viewport. (This also works for keyframed values.)