The heat-moisture transfer in soils is a fundamental base in addressing many problems of hydrology, agrophysics, building physics and other fields of science. The researchers focus on possibility of reflecting specific features of the studied arrays in the equations as well as their structure, physical properties, the processes going on in them, etc. In view of this, there arises a new class of fractional differential equations of state and transport being the base for most mathematical models describing a wide class of physical and chemical processes in media with a fractal structure and memory.This paper studies the Dirichlet boundary value problem for the Aller-Lykov moisture transfer equation with the Riemann-Liouville fractional derivative in time. The considered equation is a generalization of the Aller-Lykov equation obtained by means of introducing the concept of the fractal rate of humidity change, which accounts the presence of flows moving against the moisture potential.The existence of the solution to the Dirichlet boundary value problem is proved by the Fourier method. By means of energy inequalities method, for the solution we obtain an apriori estimate in terms of fractional Riemann-Liouville derivative, which implies the uniqueness of the solution.