We consider the inhomogeneous nonlinear Schrödinger equation iu t + u + |x| −b |u| α u = 0, x ∈ R N , where N ≥ 2, 4−2b N < α < 4−2b N −2 (4−2b N < α < ∞ if N = 2) and 0 < b < min{N /3, 1}. For a radial initial data u 0 ∈ H 1 (R N), under a certain smallness condition, we prove that the corresponding solution is global and scatters. The smallness condition is related to the ground state solution of −Q + Q + |x| −b |Q| α Q = 0 and the critical Sobolev index s c = N 2 − 2−b α. This is an extension of the recent work (Farah and Guzmán in J Differ Equ 262(8):4175-4231, 2017) by the same authors, where they consider the case N = 3 and α = 2. The proof is inspired by the concentration-compactness/rigidity method developed by Kenig and Merle (Invent