We consider the focusing energy-critical inhomogeneous nonlinear Schrödinger equation:3 , and p = 5 − 2b. On the road map of Kenig-Merle [22] we show the global well-posedness and scattering of radial solutions under energy condition, and rigidity condition −bg(x) ≤ x · ∇g(x). We also provide sharp finite time blowup results for non-radial and radial solutions. For this we utilize the localized virial identity.2010 Mathematics Subject Classification. M35Q55, 35Q40.