By making full use of the inherent connection between the theory of random conjugate spaces and the theory of classical conjugate spaces, in this paper we establish a random demiclosedness principle for a random asymptotically nonexpansive mapping, which generalizes Xu's classical demiclosedness principle from a uniformly convex Banach space to a complete random uniformly convex random normed module: let (E,∥⋅∥) be a complete random uniformly convex random normed module, E∗ the random conjugate space of E, G an almost surely bounded closed L0-convex subset of E and f:G→G a random asymptotically nonexpansive mapping, then (I−f) is random demiclosed at I^¸, namely, for each sequence {xn,n∈N} in G, if {xn,n∈N} converges in I¨(E,E∗) to x and {(I−f)xn,n∈N} converges to I^¸, then (I−f)x=I^¸, where I denotes the identity operator on E and I¨(E,E∗) the random weak topology on E.