The Jimbo–Miwa equation is the second equation in the KP hierarchy of integrable systems. In this paper, this equation is extended and introduced with the stochastic process and fractional derivatives. Firstly, the phase portrait of the Hamiltonian system generated by it is studied to understand its bifurcation behavior. Additionally, non-periodic and periodic perturbation terms are added to this system. Different values are assigned to the parameters in the perturbation terms to analyze its sensitivity and the resulting chaos is obtained. Finally, through integration techniques, the expression of the solution of this equation is obtained. These solutions are related to rational functions, trigonometric functions, exponential functions and Jacobi elliptic functions. To observe the form of the solutions more intuitively, 3D and 2D numerical simulations are conducted on the solutions and the solution images of the stochastic fractional differential equation are given by Matlab software. Compared with the existing literature, the research on the stochastic fractional equation of this equation is relatively rare and the analysis of the phase portrait is even scarcer. Our solution method is quite different from that in the previous literature. Therefore, this paper is novel. The conclusion of this paper will be of great help for the practical application of this equation.